package cn.jiyun.feign;

import cn.jiyun.dao.catalog.CatalogDTO;
import cn.jiyun.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Author 王晨
 * Date 2023/8/25
 */
@FeignClient(value = "day07catalog")
public interface CatalogFeign {

   @RequestMapping("/catalog/findAll")
    public R findCatalog(CatalogDTO catalogDTO);
   @RequestMapping("/catalog/findSta")
    public R findSta(@RequestParam("lid") Integer lid,@RequestParam("cid") Integer cid);
   @RequestMapping("catalog/findcatalogLogin")
    public R findcatalogLogin(@RequestParam("lid") Integer lid);
   @RequestMapping("catalog/finddel")
    R finddel(@RequestParam("cid") Integer cid);

   @RequestMapping("catalog/findLesson")
    R findLesson(@RequestParam("cid") Integer cid);
}
